Skip to content

Conversation

alukach
Copy link
Member

@alukach alukach commented Apr 13, 2025

Currently, we inject an OIDC auth scheme into the OpenAPI spec. However, users may want to run the STAC Auth Proxy to apply auth for tokens that are generated elsewhere (e.g. tokens that can be validated with a JWKS, but are not generated via the /token or /authorization endpoint). As such, this PR enables the manual override of the auth scheme that we inject into the OpenAPI doc, configurable via env vars.

@alukach alukach changed the title feat: Support customizing OpenAPI auth scheme feat: support customizing OpenAPI auth scheme Apr 13, 2025
@alukach alukach merged commit de6a946 into main Apr 14, 2025
2 checks passed
@alukach alukach deleted the feature/openapi-spec-customization branch April 14, 2025 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant